[Xen-API] Extension of the Xen-API for managing Xen Security Policies
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 9 Jul 2007 13:51:44 +0000 (14:51 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 9 Jul 2007 13:51:44 +0000 (14:51 +0100)
commit184e1b098b8c153c1c869577c97ee5a42b45910b
tree396ce59465e376073dee147789232d4295825611
parentc1d8b163120efcc79058f8d272aafc7dafa291e4
[Xen-API] Extension of the Xen-API for managing Xen Security Policies

This patch implements extensions for managing security policies in
xend. The XSPolicy and ACMPolicy classes provide the interface for the
Xen-API and implement functionality for setting, updating and
activating of a Xen security policy as well as labeling of virtual
machines and resources such as block devices. Labeling of network
devices will follow.

The acmpolicy class implements a compiler for translating an XML
policy into their binary format and provides functionality for
comparing a current policy against a new one when changing/updating a
policy.

The xspolicyadmin class administers the policy of the system.

Some of the xend-internal code deals with transforming the labeling
information from the S-Expression format into the new Xen-API
format. This is similar to much of the other code that is already
there.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
15 files changed:
tools/python/xen/util/acmpolicy.py [new file with mode: 0644]
tools/python/xen/util/bootloader.py [new file with mode: 0644]
tools/python/xen/util/security.py
tools/python/xen/util/xsconstants.py [new file with mode: 0644]
tools/python/xen/util/xspolicy.py [new file with mode: 0644]
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/XendError.py
tools/python/xen/xend/XendVDI.py
tools/python/xen/xend/XendXSPolicy.py [new file with mode: 0644]
tools/python/xen/xend/XendXSPolicyAdmin.py [new file with mode: 0644]
tools/python/xen/xend/server/blkif.py
tools/security/policies/security_policy.xsd